package com.hcw.core.web;

/**
 * Created by huangchunwu on 2016/10/30.
 */
public class ResponseVo {

    // 返回表示符
    private boolean success = true;
    // 错误code
    private int errorCode = 130000;
    // 错误信息
    private String msg = "";
    // 返回信息
    private Object data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
